<template>
  <van-swipe :autoplay="3000"
             :height="240"
             indicator-color="white">
    <van-swipe-item v-for="(swiper, index) in swipers"
                    :key="index">
      <img :src="swiper"
           class="swiperImg" />
    </van-swipe-item>
  </van-swipe>

</template>

<script>
export default {
  //静态
  props: {
    swipers: {
      type: Array
    }
  },

}
</script>

<style scoped lang="scss">
.swiperImg {
  width: 100%;
  height: 100%;
}
</style>
